package com.example.demo.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

@Data
@HeadStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
@ColumnWidth(20)
public class TeacherDto  {

    @ExcelProperty(value = {"成绩单", "年级"})
    String grade;

    @ExcelProperty(value = {"成绩单", "班级"})
    String classes;

    @ExcelProperty(value = {"成绩单", "学科"})
    String subject;

    @ExcelProperty(value = {"成绩单", "班主任"})
    String teacherName;
}
